package com.keeson.android_cli.api;


import com.keeson.android_cli.App;
import com.keeson.android_cli.base.retrofit.BaseApiImpl;

/**
 * Created by jiaqiZHou
 * on 2020/12/4
 */
public class Api extends BaseApiImpl {

    private static Api api = new Api(App.getBaseUrl());

    public Api(String baseUrl) {

        super(baseUrl);

    }

    public static ApiService getInstance() {

        return api.getRetrofit().create(ApiService.class);

    }
}
